memos icon indicating copy to clipboard operation
memos copied to clipboard

Telegram上传图片bug

Open cuiyanjie opened this issue 1 year ago • 2 comments

Describe the bug

通过Telegram上传的图片会被强制保存在数据库,而并非设置好的对象存储里。 建议像Telegram bot 询问可见属性那样,询问图片保存在数据库还是已经设置的对象存储里

Steps to reproduce

  1. Telegram里上传图片
  2. 选择公开或者私有可见
  3. web页面查看刚才上传的图片没有保存在对象存储里(已经设置并使用了对象存储)

Screenshots or additional context

No response

cuiyanjie avatar Jul 06 '23 04:07 cuiyanjie

Issue is not in English. It has been translated automatically.


Title: Telegram upload picture bug

Describe the bug

Pictures uploaded through Telegram will be forced to be saved in the database instead of the set object storage. It is recommended to ask whether the picture is saved in the database or in the object storage that has been set, just like the Telegram bot asks for visible attributes

Steps to reproduce

  1. Upload pictures in Telegram
  2. Select public or private visibility
  3. The web page checks that the uploaded image is not saved in the object storage (the object storage has been set and used)

Screenshots or additional context

No response

Issues-translate-bot avatar Jul 06 '23 04:07 Issues-translate-bot

This is as expected, because the first version was designed like that.

We'll change this in the next version, which share the storage setting as the HTTP API.

athurg avatar Jul 12 '23 07:07 athurg