Browse Source

Fix jumping by service pinned message

master
morethanwords 3 years ago
parent
commit
b60df6b966
  1. 4
      src/components/chat/bubbles.ts

4
src/components/chat/bubbles.ts

@ -998,8 +998,8 @@ export default class ChatBubbles { @@ -998,8 +998,8 @@ export default class ChatBubbles {
if(nameDiv && nameDiv !== bubble) {
target = nameDiv || target;
const peerIdStr = target.dataset.peerId || target.getAttribute('peer');
if(typeof(peerIdStr) === 'string') {
const savedFrom = target.dataset.savedFrom;
const savedFrom = target.dataset.savedFrom;
if(typeof(peerIdStr) === 'string' || savedFrom) {
if(savedFrom) {
const [peerId, mid] = savedFrom.split('_');

Loading…
Cancel
Save