diff options
author | dec05eba <dec05eba@protonmail.com> | 2018-05-02 12:27:19 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2018-05-02 12:27:22 +0200 |
commit | a3f6eafbae51bb98220a05bb5b63d551268c05a1 (patch) | |
tree | 516ee69efe5ab1d21a568c00c45b34db4ffcecdb | |
parent | 4cadc32cca9e2b25d5eddb8c8001471b86406aac (diff) |
Fix bug where you dont see your own messages when added to channel
-rw-r--r-- | src/Channel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Channel.cpp b/src/Channel.cpp index b43e75c..d89a23f 100644 --- a/src/Channel.cpp +++ b/src/Channel.cpp @@ -175,7 +175,7 @@ namespace dchat } localUser = newLocalUser; - users.push_back(newLocalUser); + addUserLocally(newLocalUser); } void Channel::processEvent(const sf::Event &event) |