You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-29 16:43:09 +03:00
m.heros => m.heroes
This commit is contained in:
@@ -379,7 +379,7 @@ Room.prototype.setUnreadNotificationCount = function(type, count) {
|
||||
};
|
||||
|
||||
Room.prototype.setSummary = function(summary) {
|
||||
const heros = summary["m.heros"];
|
||||
const heros = summary["m.heroes"];
|
||||
const count = summary["m.joined_member_count"];
|
||||
if (Number.isInteger(count)) {
|
||||
this.currentState.setJoinedMemberCount(count);
|
||||
|
||||
@@ -63,7 +63,7 @@ class SyncAccumulator {
|
||||
// { event: $event, token: null|token },
|
||||
// ...
|
||||
// ],
|
||||
// _summary: { m.heros: [ $user_id ], m.joined_member_count: $count }
|
||||
// _summary: { m.heroes: [ $user_id ], m.joined_member_count: $count }
|
||||
// _accountData: { $event_type: json },
|
||||
// _unreadNotifications: { ... unread_notifications JSON ... },
|
||||
// _readReceipts: { $user_id: { data: $json, eventId: $event_id }}
|
||||
|
||||
@@ -823,7 +823,7 @@ SyncApi.prototype._processSyncResponse = async function(
|
||||
// state: { events: [] },
|
||||
// timeline: { events: [], prev_batch: $token, limited: true },
|
||||
// ephemeral: { events: [] },
|
||||
// summary: { m.heros: [ $userId ], m.joined_member_count: $count }
|
||||
// summary: { m.heroes: [ $userId ], m.joined_member_count: $count }
|
||||
// account_data: { events: [] },
|
||||
// unread_notifications: {
|
||||
// highlight_count: 0,
|
||||
|
||||
Reference in New Issue
Block a user