Slight change to admin messages, ensuring people actually see and read them (take 2) (#65871)

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
This commit is contained in:
wesoda25
2022-04-03 18:57:29 -04:00
committed by GitHub
parent a849e43a5a
commit a9f7acedd2
2 changed files with 14 additions and 10 deletions
+1 -10
View File
@@ -669,16 +669,7 @@
switch(type)
if("message")
output += "<font color='red' size='3'><b>Admin message left by [span_prefix("[admin_key]")] on [timestamp]</b></font>"
output += "<br><font color='red'>[text]</font><br>"
var/datum/db_query/query_message_read = SSdbcore.NewQuery(
"UPDATE [format_table_name("messages")] SET type = 'message sent' WHERE id = :id",
list("id" = message_id)
)
if(!query_message_read.warn_execute())
qdel(query_get_message_output)
qdel(query_message_read)
return
qdel(query_message_read)
output += "<br><font color='red'>[text] <A href='?_src_=holder;[HrefToken()];messageread=[message_id]'>(Click here to verify you have read this message)</A></font><br>"
if("note")
output += "<font color='red' size='3'><b>Note left by [span_prefix("[admin_key]")] on [timestamp]</b></font>"
output += "<br><font color='red'>[text]</font><br>"