mirror of
https://github.com/deavminet/gustav.git
synced 2025-01-18 12:20:45 +00:00
Call findUser
on direct message notification received
This commit is contained in:
parent
ddee77a5b7
commit
f2120f5fd4
@ -210,6 +210,8 @@ public final class Connection : Thread
|
||||
/* The message is the remainder */
|
||||
string message = cast(string)data[2+usernameLength..data.length];
|
||||
gprintln("DirectMessage: (Message): "~message);
|
||||
|
||||
findUser(username).receiveMessage(username, message);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user