Open 1100101 opened 4 years ago
I can confirm this issue. Our server got updated this morning, since then I'm getting the same toast notifications where it worked before.
I can confirm this issue too. Our server is on 3.4.2 track (last snap, Ubuntu 20.04 LTS). This is very strange issue because on mobile version everyting is OK, only on web and desktop version is not. We use a rocket cat bot notification for our #git and #jira channel and this is a big problem because Devs and QA cant view what is fixed or changed immediately. Please fix it.
Please test if the latest release did solve this. If not please reopen the issue or create a new one and tell us. I will be closing this one for now.
Thank you!
Hi. I did the test. The issue is not solved. So I atached 2 screenshots - first is from mobile client (on this shot everything is OK, and second one is from desktop - missing imortant part of message. Please see the screenshots. We are on 4.3.1 and last MongoDB from SNAP. Mobile client is last version (4.23), desktop client too (3.7.5).
Please fix it. If you think that is not main issue from this ticket please open new one. This is problem for us. Its working OK only on 2.x desktop client.
On browser this didnt happens too? Seems like a chat problem and not an Electron one.
On browser this didnt happens too?
Nope. Its not working on browser. Only on mobile client work properly .
My Setup
Description
We're using an Incoming Webhook with connection to a Gitlab instance to post messages to a channel. The script we use is a slightly modified version from the one available here: https://rocket.chat/docs/administrator-guides/integrations/gitlab/ Since the messages from the webhook are posted via a "bot", the complete content of the message is stored as attachment (see uploaded a file".
makeAttachment()
method in the script). In functionmergeRequestEvent(data)
, when thetext:
field of the returnedcontent:
element is empty, the desktop notification shows a message "This is a regression from older (server?) versions, as previously it would show the text from the
attachment
in the notification.Current Behavior
The desktop notification for a message from an Incoming Gitlab Webhook does not display the message text, but "uploaded a file" instead.
Expected Behavior
The desktop notification for a message from an Incoming Gitlab Webhook shall consider the text defined in the
attachment
part of a message if the messagetext
itself is empty.