Merge branch 'fix-sticky-replacing-userId' into 'ms4/dev'

Don't overwrite userId when editing a postit

See merge request morningstar/Arcturus-Community!47
This commit is contained in:
John 2023-01-20 00:16:56 +00:00
commit bf12d04dd5

View File

@ -51,7 +51,6 @@ public class SetItemDataEvent extends MessageHandler {
if (color.isEmpty()) if (color.isEmpty())
color = PostItColor.YELLOW.hexColor; color = PostItColor.YELLOW.hexColor;
item.setUserId(room.getOwnerId());
item.setExtradata(color + " " + text); item.setExtradata(color + " " + text);
item.needsUpdate(true); item.needsUpdate(true);
room.updateItem(item); room.updateItem(item);