mirror of
https://github.com/lucaspalomodevelop/indico-plugins.git
synced 2026-03-13 07:29:39 +00:00
LiveSync: fix category check for attachment events
This commit is contained in:
parent
4505f78024
commit
73520f11b4
@ -165,7 +165,7 @@ def _note_changed(note, **kwargs):
|
||||
def _attachment_changed(attachment_or_folder, **kwargs):
|
||||
folder = getattr(attachment_or_folder, 'folder', attachment_or_folder)
|
||||
if folder.link_type not in (LinkType.category, LinkType.session):
|
||||
_register_change(folder.object, ChangeType.data_changed)
|
||||
_register_change(folder.object.event_new, ChangeType.data_changed)
|
||||
|
||||
|
||||
def _apply_changes(sender, **kwargs):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user