mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-24 05:24:34 +00:00
Fix DM/groupchat "from" field which was read as integer instead of string.
This commit is contained in:
parent
082ade6144
commit
91de877a4d
@ -255,7 +255,7 @@ int loadUserData(std::string const& filename, std::map<std::string,UserData> &us
|
||||
stoDm.m_text = dmElem->dict_find_string_value("text");
|
||||
stoDm.m_utcTime = dmElem->dict_find_int_value("time");
|
||||
stoDm.m_fromMe = dmElem->dict_find_int_value("fromMe");
|
||||
stoDm.m_from = dmElem->dict_find_int_value("from");
|
||||
stoDm.m_from = dmElem->dict_find_string_value("from");
|
||||
udata.m_directmsg[dmDict->dict_at(j).first].push_back(stoDm);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user