Skip to content
Snippets Groups Projects
Commit d6e818ad authored by Margot Brennan's avatar Margot Brennan
Browse files

a few changes to replace the term channel admin with channel broadcaster

parent 12ca9e0b
No related branches found
No related tags found
No related merge requests found
......@@ -193,7 +193,7 @@ const resolvePrefix = (channel, messageType, command, language) => {
return ''
}
if (messageType === BROADCAST_RESPONSE) {
// subscriber responses get a special header so they don't look like broadcast messages from admins
// subscriber responses get a special header so they don't look like broadcast messages from broadcasters
// we clone message to preserve attachments
return `[${prefixes.broadcastResponse}]\n`
}
......
......@@ -152,7 +152,7 @@ const isWelcomeMessage = sdMessage => {
// properly localize this, by including more languages in the input array here!
[messagesIn(defaultLanguage)].find(
messages =>
strippedMessage === messages.notifications.welcome('', '').trim() || //if added by another admin
strippedMessage === messages.notifications.welcome('', '').trim() || //if added by another broadcaster
strippedMessage === messages.notifications.welcome(messages.systemName, '').trim(), //if added by sysadmin
),
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment