Skip to content

[#268] Display admin id with sent messages

Mari requested to merge 268-display-admin-id-in-admin-messages into main

context

it is sometimes difficult to know which admins are doing what in a signalboost channel - who is sending a private message, who is responding to hotline messages and who broadcasting messages. we want a way to ID admins without exposing their identities.

changes

migrations & backfills

  • gives existing admins ID's
  • updates the channel with nextAdminId to show which id will be for the next admin added to the channel

logic for filling in id's

  • when creating a channel and adding new admins to the channel, the nextAdminId is read from the channel object and then incremented after the admin is added to the channel

displaying ID's

  • in execute, addAdminIdToHeader adds the admin ID to the header
  • admin is the same in each language, yay!

Closes #268 (closed)

Edited by aguestuser

Merge request reports

Loading