mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-11 07:17:53 +00:00
commit
69ad1d73c9
@ -1090,7 +1090,8 @@ bool processReceivedDM(lazy_entry const* post)
|
|||||||
lazy_entry v;
|
lazy_entry v;
|
||||||
int pos;
|
int pos;
|
||||||
libtorrent::error_code ec;
|
libtorrent::error_code ec;
|
||||||
if (lazy_bdecode(textOut.data(), textOut.data()+textOut.size(), v, ec, &pos) == 0) {
|
if (lazy_bdecode(textOut.data(), textOut.data()+textOut.size(), v, ec, &pos) == 0
|
||||||
|
&& v.type() == lazy_entry::dict_t) {
|
||||||
msg = v.dict_find_string_value("msg");
|
msg = v.dict_find_string_value("msg");
|
||||||
to = v.dict_find_string_value("to");
|
to = v.dict_find_string_value("to");
|
||||||
// new features here: key distribution etc
|
// new features here: key distribution etc
|
||||||
|
Loading…
Reference in New Issue
Block a user