Spreed: Talk flow is not sending notifications

Created on 28 Jan 2020  路  14Comments  路  Source: nextcloud/spreed

Hello,

is it possible that Talk sends a notification as soon as a new message has arrived?

I have created a flow that writes a message to a specific chat on every new upload, now I want to see this without looking at the chat.
Notifications in the notification center are also displayed via the sync client, but unfortunately Talk does not send such a notification.

3. to review bug flow 馃攢

All 14 comments

Just go to the conversation where the messages are posted and change the notification level to "always notify"

I did, but I'm still not getting any.

@nickvergessen
So here's what I set:
image
image
image

If someone uploads something to a shared folder that is not an image, a chat message should appear and I should get a notification.
But this does not work.

  • Is the flow only triggered if I upload something myself?
  • Why don't I get a notification even though I have set it up the way you have described it?

So, there is a bug in the flow component which breaks the flow when the user is a guest:
https://github.com/nextcloud/server/pull/19186

But never the less notifications are not send, but at least a message is now posted into the chat.

So, there is a bug in the flow component which breaks the flow when the user is a guest:
nextcloud/server#19186

But I do not work with guests or public releases. In my example only registered users use the system.

But even if a message is created in Talk, I do not get a notification? Is this on purpose or a bug after all?

There is no possibility to assign uploads in certain folders to certain chats?

Sure, apply a tag to the folder and add a check for that tag to the flow

Does the following problem belong to the above mentioned?
If I upload a file myself and receive a message, there is no notification.
image

The folder works, but I don't understand why.
The selection means that the file must have the tag not the parent folder?
image

For tags it's the file or any parent, as otherwise tags would not work with shares

@nickvergessen Just a quick question: Does this work with groupfolders, too? In our case the Talk message is only generated when the file in a tagged folder is created by the user who created the flow action. We're using 19.0.2 with all apps up to the latest released version.

cc @blizzz

The File entity misses a check with group folders. Right now it validates whether the user is owner or has access to the file in question by share. The group folder case is missing there: https://github.com/nextcloud/server/blob/master/apps/workflowengine/lib/Entity/File.php#L136-L147

Thanks for making it clear. So we will have to wait for a fix as we're relying heavily on groupfolders. As a workaround, everyone who has access to that special folder could create his own flow action...

Was this page helpful?
0 / 5 - 0 ratings

Related issues

llamallama picture llamallama  路  4Comments

mario picture mario  路  3Comments

q-wertz picture q-wertz  路  3Comments

georgehrke picture georgehrke  路  3Comments

PVince81 picture PVince81  路  4Comments