aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Channel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Channel.cpp b/src/Channel.cpp
index a63fcc4..06c0b79 100644
--- a/src/Channel.cpp
+++ b/src/Channel.cpp
@@ -18,7 +18,6 @@ namespace dchat
localUser(_localUser ? _localUser : new OfflineUser("You"))
{
addUserLocally(localUser);
- localUser->avatarUrl = "https://discordemoji.com/assets/emoji/HanekawaSmug.gif";
addLocalMessage(u8"[emoji](https://discordemoji.com/assets/emoji/PepeDab.gif) deaf [emoji](https://discordemoji.com/assets/emoji/COGGERS.gif)", &systemUser, 0, odhtdb::Hash());
addLocalMessage(u8"[emoji](https://discordemoji.com/assets/emoji/PepeDab.gif)[emoji](https://discordemoji.com/assets/emoji/COGGERS.gif)", &systemUser, 0, odhtdb::Hash());
@@ -132,6 +131,7 @@ namespace dchat
void Channel::addUserLocally(User *user)
{
users.push_back(user);
+ user->avatarUrl = "https://discordemoji.com/assets/emoji/HanekawaSmug.gif";
if(user->isOnlineUser())
{
auto onlineUser = static_cast<OnlineUser*>(user);