From 528a61c86876de814ff4e65855926a750ba24587 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 17 May 2018 02:12:55 +0200 Subject: Avatars for everybody --- src/Channel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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(user); -- cgit v1.2.3