Skip to content

Commit

Permalink
passing user when transfer to user (#390)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanJaeger authored Aug 1, 2024
1 parent c4663dc commit 4d404fa
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion chats/apps/api/v1/rooms/viewsets.py
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,10 @@ def bulk_transfer(self, request, pk=None):
room.save()

create_room_feedback_message(room, feedback, method="rt")
room.notify_user("update", user=old_user)
if old_user:
room.notify_user("update", user=old_user)
else:
room.notify_user("update", user=transfer_user)
room.notify_user("update")

if queue_uuid:
Expand Down

0 comments on commit 4d404fa

Please sign in to comment.