krille-chan / fluffychat

The cutest instant messenger in the [matrix]
https://fluffychat.im/
GNU Affero General Public License v3.0
888 stars 150 forks source link

questions about sticker things #1127

Closed chocosobo closed 1 month ago

chocosobo commented 1 month ago

Hi, first of all i'm almost new to matrix, not a programmer. Questions below might fool and weird thing.

As far as I understand Matrix and fluffychat sticker, fluffychat custom stickers are only can be uploaded on matrix server not external file hosting type as m.sticker

Questions are

  1. Custom stickers with external hosted url is gonna happen?

    • to host room and media in seperated servers
  2. It might more like Matrix question. Can I restrict user to only use stickers setted up by admin for room but no media uploads? I'm not sure upload media and m.sticker are different in system Matrix room setting looks not distinguish text and media

cyrneko commented 1 month ago

Hi, first of all i'm almost new to matrix, not a programmer. Questions below might fool and weird thing.

As far as I understand Matrix and fluffychat sticker, fluffychat custom stickers are only can be uploaded on matrix server not external file hosting type as m.sticker

Questions are

1. Custom stickers with external hosted url is gonna happen?

* to host room and media in seperated servers

2. It might more like Matrix question. Can I restrict user to only use stickers setted up by admin for room but no media uploads?
   I'm not sure upload media and m.sticker are different in system
   Matrix room setting looks not distinguish text and media

I would personally ask these questions in #fluffychat:matrix.org or #matrix-spec:matrix.org. The issue tracker is intended to track issues and feature requests, not general questions.

Either way, to answer your questions:

  1. m.sticker events reference an MXC, Matrix Content. That content can be hosted on any homeservers' media repo.
  2. Media uploads are not handled in room state, sending events with media (e.g m.image) is. There's no existing rules to restrict this.
krille-chan commented 1 month ago

Hey, thanks for opening the issues. I would kindly ask you to not use issues to ask questions and instead ask the community. Thank you very much