Communication
: New message notification not being sent to web socket
#9791
Labels
Communication
: New message notification not being sent to web socket
#9791
Describe the bug
When a new message is written to a conversation/channel that I participate in, there should be notifications about it on the web socket topic
/user/topic/metis/courses/{courseId}/conversations/user/{userId}
with typeMetisCrudAction.NEW_MESSAGE
. I found this function in the code base that is supposed to be doing this, but it doesn't seem to be called anywhere.Artemis/src/main/java/de/tum/cit/aet/artemis/communication/service/conversation/ConversationService.java
Line 292 in e3f1c92
Because of this, the unread indicators on the iOS app are not being updated when new messages arrive (ls1intum/artemis-ios#214).
To Reproduce
/user/topic/metis/courses/{courseId}/conversations/user/{userId}
.The client is only notified about the message itself on other topics if subscribed, such as
/topic/metis/courses/{courseId}.
Expected behavior
A payload with type
MetisCrudAction.NEW_MESSAGE
should be sent to the/user/topic/metis/courses/{courseId}/conversations/user/{userId}
topic via the web socket.Screenshots
No response
Which version of Artemis are you seeing the problem on?
7.7.1
What browsers are you seeing the problem on?
Safari
Additional context
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: