polfan-server-js-client 0.2.48 → 0.2.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.idea/workspace.xml +24 -22
- package/build/index.cjs.js +2 -3
- package/build/index.cjs.js.map +1 -1
- package/build/index.umd.js +1 -1
- package/build/index.umd.js.map +1 -1
- package/build/types/types/src/index.d.ts +3 -2
- package/build/types/types/src/schemes/Message.d.ts +1 -1
- package/build/types/types/src/schemes/Room.d.ts +2 -0
- package/build/types/types/src/schemes/RoomHistory.d.ts +5 -0
- package/build/types/types/src/schemes/RoomSummary.d.ts +1 -0
- package/build/types/types/src/schemes/commands/CreateTopic.d.ts +5 -2
- package/build/types/types/src/schemes/commands/UpdateRoom.d.ts +2 -0
- package/package.json +1 -1
- package/src/state-tracker/MessagesManager.ts +2 -3
- package/src/types/src/index.ts +7 -3
- package/src/types/src/schemes/Message.ts +1 -1
- package/src/types/src/schemes/Room.ts +2 -0
- package/src/types/src/schemes/RoomHistory.ts +6 -0
- package/src/types/src/schemes/RoomSummary.ts +1 -0
- package/src/types/src/schemes/commands/CreateTopic.ts +6 -2
- package/src/types/src/schemes/commands/UpdateRoom.ts +2 -0
package/.idea/workspace.xml
CHANGED
|
@@ -4,7 +4,9 @@
|
|
|
4
4
|
<option name="autoReloadType" value="SELECTIVE" />
|
|
5
5
|
</component>
|
|
6
6
|
<component name="ChangeListManager">
|
|
7
|
-
<list default="true" id="831dae43-0da1-47fd-a5f7-33dd5eec2992" name="Changes" comment="
|
|
7
|
+
<list default="true" id="831dae43-0da1-47fd-a5f7-33dd5eec2992" name="Changes" comment="Bump version">
|
|
8
|
+
<change beforePath="$PROJECT_DIR$/package.json" beforeDir="false" afterPath="$PROJECT_DIR$/package.json" afterDir="false" />
|
|
9
|
+
</list>
|
|
8
10
|
<option name="SHOW_DIALOG" value="false" />
|
|
9
11
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
10
12
|
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
|
@@ -121,23 +123,7 @@
|
|
|
121
123
|
<workItem from="1752834023436" duration="2601000" />
|
|
122
124
|
<workItem from="1753062168800" duration="4938000" />
|
|
123
125
|
<workItem from="1753441064452" duration="1184000" />
|
|
124
|
-
<workItem from="1753954931871" duration="
|
|
125
|
-
</task>
|
|
126
|
-
<task id="LOCAL-00002" summary="Emoticons objects">
|
|
127
|
-
<option name="closed" value="true" />
|
|
128
|
-
<created>1738000310264</created>
|
|
129
|
-
<option name="number" value="00002" />
|
|
130
|
-
<option name="presentableId" value="LOCAL-00002" />
|
|
131
|
-
<option name="project" value="LOCAL" />
|
|
132
|
-
<updated>1738000310264</updated>
|
|
133
|
-
</task>
|
|
134
|
-
<task id="LOCAL-00003" summary="Emoticons support">
|
|
135
|
-
<option name="closed" value="true" />
|
|
136
|
-
<created>1738002489324</created>
|
|
137
|
-
<option name="number" value="00003" />
|
|
138
|
-
<option name="presentableId" value="LOCAL-00003" />
|
|
139
|
-
<option name="project" value="LOCAL" />
|
|
140
|
-
<updated>1738002489324</updated>
|
|
126
|
+
<workItem from="1753954931871" duration="14132000" />
|
|
141
127
|
</task>
|
|
142
128
|
<task id="LOCAL-00004" summary="Emoticons support">
|
|
143
129
|
<option name="closed" value="true" />
|
|
@@ -515,7 +501,23 @@
|
|
|
515
501
|
<option name="project" value="LOCAL" />
|
|
516
502
|
<updated>1754173777653</updated>
|
|
517
503
|
</task>
|
|
518
|
-
<
|
|
504
|
+
<task id="LOCAL-00051" summary="Fix mutationCounter doesn't increment on delete">
|
|
505
|
+
<option name="closed" value="true" />
|
|
506
|
+
<created>1754176233412</created>
|
|
507
|
+
<option name="number" value="00051" />
|
|
508
|
+
<option name="presentableId" value="LOCAL-00051" />
|
|
509
|
+
<option name="project" value="LOCAL" />
|
|
510
|
+
<updated>1754176233412</updated>
|
|
511
|
+
</task>
|
|
512
|
+
<task id="LOCAL-00052" summary="Changes in chat protocol and schemes">
|
|
513
|
+
<option name="closed" value="true" />
|
|
514
|
+
<created>1754249755333</created>
|
|
515
|
+
<option name="number" value="00052" />
|
|
516
|
+
<option name="presentableId" value="LOCAL-00052" />
|
|
517
|
+
<option name="project" value="LOCAL" />
|
|
518
|
+
<updated>1754249755333</updated>
|
|
519
|
+
</task>
|
|
520
|
+
<option name="localTasksCounter" value="53" />
|
|
519
521
|
<servers />
|
|
520
522
|
</component>
|
|
521
523
|
<component name="TypeScriptGeneratedFilesManager">
|
|
@@ -533,8 +535,6 @@
|
|
|
533
535
|
</option>
|
|
534
536
|
</component>
|
|
535
537
|
<component name="VcsManagerConfiguration">
|
|
536
|
-
<MESSAGE value="Restore support for nullable parameter in permission overwrites id function" />
|
|
537
|
-
<MESSAGE value="Bans support" />
|
|
538
538
|
<MESSAGE value="New scheme of Bye event" />
|
|
539
539
|
<MESSAGE value="Fix authentication" />
|
|
540
540
|
<MESSAGE value="Add notify option to Kick command" />
|
|
@@ -558,6 +558,8 @@
|
|
|
558
558
|
<MESSAGE value="Relationships support" />
|
|
559
559
|
<MESSAGE value="Update a relationship scheme" />
|
|
560
560
|
<MESSAGE value="Fix a relationship type" />
|
|
561
|
-
<
|
|
561
|
+
<MESSAGE value="Fix mutationCounter doesn't increment on delete" />
|
|
562
|
+
<MESSAGE value="Changes in chat protocol and schemes" />
|
|
563
|
+
<option name="LAST_COMMIT_MESSAGE" value="Changes in chat protocol and schemes" />
|
|
562
564
|
</component>
|
|
563
565
|
</project>
|
package/build/index.cjs.js
CHANGED
|
@@ -869,9 +869,8 @@ class MessagesManager {
|
|
|
869
869
|
updateLocallyFollowedTopicOnNewMessage(ev) {
|
|
870
870
|
const roomFollowedTopics = this.followedTopics.get(ev.message.location.roomId);
|
|
871
871
|
const followedTopic = roomFollowedTopics?.get(ev.message.location.topicId);
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
// Skip if we don't follow this room or targeted topic or message is ephemeral
|
|
872
|
+
if (!roomFollowedTopics || !followedTopic || ev.message.type === 'Ephemeral') {
|
|
873
|
+
// Skip if we don't follow this room or targeted topic or the message is ephemeral
|
|
875
874
|
return;
|
|
876
875
|
}
|
|
877
876
|
const isMe = ev.message.author.user.id === this.tracker.me?.id;
|