We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34c9f9c commit 9cdb67aCopy full SHA for 9cdb67a
src/base/streamer/message.private.js
@@ -29,6 +29,10 @@ wrap(function streamPM() {
29
30
this.canceled = true; // Cancel the event from going through
31
32
+ const privateChats = global('privateChats');
33
+ const history = privateChats[userId] || [];
34
+ history.push(message);
35
+
36
const userId = user.id;
37
if (userId === global('selfId')) return; // ignore automated reply
38
0 commit comments