Fix jumping by service pinned message
This commit is contained in:
parent
bee4efac90
commit
b60df6b966
@ -998,8 +998,8 @@ export default class ChatBubbles {
|
|||||||
if(nameDiv && nameDiv !== bubble) {
|
if(nameDiv && nameDiv !== bubble) {
|
||||||
target = nameDiv || target;
|
target = nameDiv || target;
|
||||||
const peerIdStr = target.dataset.peerId || target.getAttribute('peer');
|
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) {
|
if(savedFrom) {
|
||||||
const [peerId, mid] = savedFrom.split('_');
|
const [peerId, mid] = savedFrom.split('_');
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user