mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-27 08:50:51 +01:00
Don't overwrite userId when editing a postit, original user who placed the postit should always stay as the owner
This commit is contained in:
parent
0f3ca7807e
commit
c48ef6dcf6
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user