forgot to subscribe

This commit is contained in:
Green Sky 2024-01-28 00:28:11 +01:00
parent ab282235b5
commit 20af7dd705
No known key found for this signature in database

View File

@ -5,6 +5,7 @@
MessageTimeSort::MessageTimeSort(RegistryMessageModel& rmm) : _rmm(rmm) { MessageTimeSort::MessageTimeSort(RegistryMessageModel& rmm) : _rmm(rmm) {
_rmm.subscribe(this, RegistryMessageModel_Event::message_construct); _rmm.subscribe(this, RegistryMessageModel_Event::message_construct);
_rmm.subscribe(this, RegistryMessageModel_Event::message_updated); _rmm.subscribe(this, RegistryMessageModel_Event::message_updated);
_rmm.subscribe(this, RegistryMessageModel_Event::message_destroy);
} }
void MessageTimeSort::iterate(void) { void MessageTimeSort::iterate(void) {