mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2025-02-18 11:22:37 +01:00
Ensure post-it ownership remains unchanged when text is edited, maintaining the original owner
This commit is contained in:
parent
0a6355996a
commit
0301a1467f
@ -51,7 +51,8 @@ public class PostItSaveDataEvent extends MessageHandler {
|
|||||||
if (color.isEmpty())
|
if (color.isEmpty())
|
||||||
color = PostItColor.YELLOW.hexColor;
|
color = PostItColor.YELLOW.hexColor;
|
||||||
|
|
||||||
item.setUserId(room.getOwnerId());
|
// Removed on Oct 15th, 2024: The owner of this item should not be altered when editing the text of a post-it. The original owner must always remain unchanged.
|
||||||
|
// item.setUserId(room.getOwnerId());
|
||||||
item.setExtradata(color + " " + text);
|
item.setExtradata(color + " " + text);
|
||||||
item.needsUpdate(true);
|
item.needsUpdate(true);
|
||||||
room.updateItem(item);
|
room.updateItem(item);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user