[FIX] Quote not working on Group DM (#2372)
This commit is contained in:
parent
bcb599e03d
commit
f0d9c9274c
|
@ -695,7 +695,7 @@ const RocketChat = {
|
||||||
c: 'channel',
|
c: 'channel',
|
||||||
d: 'direct'
|
d: 'direct'
|
||||||
}[room.t];
|
}[room.t];
|
||||||
return `${ server }/${ roomType }/${ room.name }?msg=${ message.id }`;
|
return `${ server }/${ roomType }/${ this.isGroupChat(room) ? room.rid : room.name }?msg=${ message.id }`;
|
||||||
},
|
},
|
||||||
getPermalinkChannel(channel) {
|
getPermalinkChannel(channel) {
|
||||||
const { server } = reduxStore.getState().server;
|
const { server } = reduxStore.getState().server;
|
||||||
|
|
Loading…
Reference in New Issue