[MIRROR] Fixes the messenger app not being responsive when certain buttons are clicked [MDB IGNORE] (#17393)

* Fixes the messenger app not being responsive when certain buttons are clicked (#71077)

## About The Pull Request
The buttons to toggle the ringer, to toggle the sending/receiving and
the button to see message history all stopped being responsive, because
the information they were changing when pressed was wrongly kept in
`ui_static_data()` rather than `ui_data()`. Now, they're back in
`ui_data()`, and behave as expected once again.

## Why It's Good For The Game
A non-responsive TGUI interface is probably the saddest thing to see.

## Changelog

🆑 GoldenAlpharex
fix: SpaceMessenger was now updated to 6.4.8, bringing you more
responsiveness than ever (so long as ever is shorter than seven days
ago)!
/🆑

* Fixes the messenger app not being responsive when certain buttons are clicked

Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>
This commit is contained in:
SkyratBot
2022-11-06 22:40:26 +01:00
committed by GitHub
parent 4f58f4ab01
commit 1aefd210c5
2 changed files with 4 additions and 4 deletions

View File

@@ -201,11 +201,8 @@
var/list/data = ..()
data["owner"] = computer.saved_identification
data["ringer_status"] = ringer_status
data["sending_and_receiving"] = sending_and_receiving
data["sortByJob"] = sort_by_job
data["isSilicon"] = issilicon(user)
data["viewing_messages"] = viewing_messages
return data
@@ -214,6 +211,9 @@
data["messages"] = messages
data["messengers"] = ScrubMessengerList()
data["ringer_status"] = ringer_status
data["sending_and_receiving"] = sending_and_receiving
data["viewing_messages"] = viewing_messages
data["photo"] = photo_path
data["canSpam"] = spam_mode