Telegram Web K with changes to work inside I2P
https://web.telegram.i2p/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
558 B
16 lines
558 B
var chatInner = appImManager.chat.bubbles.chatInner; |
|
var dateGroup = chatInner.firstElementChild; |
|
var topBubble = chatInner.querySelector('[data-mid="6318129151"]').parentElement; |
|
var bottomBubble = chatInner.querySelector('[data-mid="6318587903"]').parentElement; |
|
topBubble.remove(); |
|
bottomBubble.remove(); |
|
var f = () => { |
|
var scrollSaver = appImManager.chat.bubbles.createScrollSaver(); |
|
scrollSaver.save(); |
|
|
|
dateGroup.prepend(topBubble); |
|
dateGroup.append(bottomBubble); |
|
scrollSaver.restore(); |
|
}; |
|
// f(); |
|
setTimeout(() => f(), 1000); |