jt3k / chat-linker

the bridge between jabber and telegram over chat-bots
MIT License
46 stars 9 forks source link

Change the display of forward messages. #38

Open jt3k opened 6 years ago

jt3k commented 6 years ago

in telegram forwarded message looks like this: image

now in xmpp we see:

8:35 @jt3k проветка
8:35 +tg <@iyntx> прошла успешно
8:35 +tg <@iyntx> >> <robotron3000bot> jt3k
>> проветка

I would like, on the xmpp side, to see a more consistent visual look:

8:35 +tg <@iyntx> прошла успешно
>> Forwarded from javascript@conference.jabber.ru<@robotron3000bot>
>> <jt3k> проветка

or like this:

8:35 +tg <@iyntx> прошла успешно
8:35 +tg  >> Forwarded from javascript@conference.jabber.ru<@robotron3000bot>
>> <jt3k> проветка

8:35 and +tg is only displayed in the xmpp client