diff options
author | Camila <hello@camila.codes> | 2021-05-18 21:45:34 +0300 |
---|---|---|
committer | Camila (Rebase PR Action) <hello@camila.codes> | 2021-05-25 09:55:53 +0300 |
commit | 8d2264e0278415b5f3ec4ea7f9d286ca840d0bde (patch) | |
tree | 0a4b8c17c3f9f677d62366f866e47cbf7157a39f /src/gui/accountstate.cpp | |
parent | 1cb7f63575557c73609e49aeb226185d2e748be7 (diff) |
Display the user status emoji separated from the message.
It allows to align the emoji with the message.
Signed-off-by: Camila <hello@camila.codes>
Diffstat (limited to 'src/gui/accountstate.cpp')
-rw-r--r-- | src/gui/accountstate.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/accountstate.cpp b/src/gui/accountstate.cpp index 1abbf6fab..bb2ab5273 100644 --- a/src/gui/accountstate.cpp +++ b/src/gui/accountstate.cpp @@ -142,6 +142,11 @@ QUrl AccountState::statusIcon() const return _userStatus->icon(); } +QString AccountState::statusEmoji() const +{ + return _userStatus->emoji(); +} + QString AccountState::stateString(State state) { switch (state) { |