Comments (2)
thanks for explaination, I can use queryGroupProfilePicture to achieve what I need.
why I hava this issue is influence by userService.updateProfile api :
has a param to save profilePicture value
from turms.
If you want to manage group profile pictures (or other storage resources) by Turms, the API design is fine because:
groupService
is mainly used to manage data in the group domain, andstorageService
is mainly used to manage data for groups, users, and messages in the storage resources domain.- If you upload resources by
storageService
, it's meanless for you to update the profile picture URL of a group to a custom URL because you can either interfere with the profile picture URLs provided by Turms if you decide to use regular profile picture URLs, or you need to callqueryGroupProfilePicture
to get the URL if you decide to use inregular profile picture URLs for anti-crawler reasons.
But if you want the storage resources by other services (not Turms), it's reasonable to update the profile picture via updateGroup
, and I can update the API to add a param like profilePicture
for you if you want.
from turms.
Related Issues (20)
- Add docs on configuring testing environments of servers
- Pool isolates
- Add a new server `turms-storage` to overcome the shortages of MinIO (and other storage services)
- Add docs on the design of the search system
- setting file logs config params code error! HOT 1
- Support embedding visible or invisible watermarks when taking a screenshot
- Add properties for developers to limit the number of search results
- Support watermark encryption with a large key space
- Use GPU (CUDA) to embed and extract watermark
- ppocr_keys_v1.txt Download address invalid HOT 1
- turms-plugin-push 的使用
- To implement the UserAuthenticator plug-in, I write the user to mongodb when verifying the user. How to write userVersion? HOT 7
- How does the client end the current session history message? HOT 1
- 镜像插件不加载 HOT 3
- Messages are lost in cluster service mode
- message search filter HOT 3
- 关于预发环境redis需不需要隔离的问题 HOT 1
- com.google.protobuf.GeneratedMessageV3 no have HOT 1
- Support scheduling meetings
- Support getting public IPs from cloud service providers
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from turms.