nextcloud / integration_mattermost

Mattermost integration in Nextcloud
GNU Affero General Public License v3.0
19 stars 6 forks source link

Option for dashboard widget to show channel or team history #16

Open matcho opened 1 year ago

matcho commented 1 year ago

Salut Julien,

Great app, thanks for the work.

Could it be possible to have an option for the dashboard widget, to show latest messages from a specific MM channel or MM team, instead of (or in addition to) @... mentions ?

Use case: our MM server has many teams, one of them being dedicated to the project we manage through NC; everyone writes to public channels but rarely mention specific people; it would be great if NC users could see this channel's history in their dashboard.

Thanks a lot, Mathias

kyteinsky commented 1 year ago

Hello @matcho , sounds good. You can have a setting to switch between the "mentions widget" and the "channel widget". And it is fairly easy to get messages for a particular channel or team (https://api.mattermost.com/#tag/posts/operation/GetPostsForChannel) and get a list of channels or teams (https://api.mattermost.com/#tag/channels/operation/GetAllChannels).
Unfortunately, we cannot invest time in new feature additions, but we're super ready to review any PR that you wish to open.