aboutsummaryrefslogtreecommitdiff
path: root/src/Channel.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-05-02 12:27:19 +0200
committerdec05eba <dec05eba@protonmail.com>2018-05-02 12:27:22 +0200
commita3f6eafbae51bb98220a05bb5b63d551268c05a1 (patch)
tree516ee69efe5ab1d21a568c00c45b34db4ffcecdb /src/Channel.cpp
parent4cadc32cca9e2b25d5eddb8c8001471b86406aac (diff)
Fix bug where you dont see your own messages when added to channel
Diffstat (limited to 'src/Channel.cpp')
-rw-r--r--src/Channel.cpp2
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)