fix(core)!: ChatJoinRequest#chatId not marked
This commit is contained in:
parent
318dbd6548
commit
f70993131a
1 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
import type { tl } from '@mtcute/tl'
|
||||
|
||||
import { getBarePeerId } from '../../../utils/peer-utils.js'
|
||||
import { getMarkedPeerId } from '../../../utils/peer-utils.js'
|
||||
import { makeInspectable } from '../../utils/index.js'
|
||||
import { memoizeGetters } from '../../utils/memoize.js'
|
||||
import type { PeersIndex } from '../peers/index.js'
|
||||
|
@ -23,10 +23,10 @@ export class ChatJoinRequestUpdate {
|
|||
// recent requesters, not the chat
|
||||
|
||||
/**
|
||||
* ID of the chat/channel
|
||||
* Marked ID of the chat/channel
|
||||
*/
|
||||
get chatId(): number {
|
||||
return getBarePeerId(this.raw.peer)
|
||||
return getMarkedPeerId(this.raw.peer)
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue