Update presence dynamically and reduce allocations
This commit is contained in:
parent
4428388b3f
commit
9a9dbda571
11 changed files with 145 additions and 79 deletions
|
|
@ -877,7 +877,7 @@ ChatPage::receivedSessionKey(const std::string &room_id, const std::string &sess
|
|||
QString
|
||||
ChatPage::status() const
|
||||
{
|
||||
return QString::fromStdString(cache::statusMessage(utils::localUser().toStdString()));
|
||||
return QString::fromStdString(cache::presence(utils::localUser().toStdString()).status_msg);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue