Comments (3)
If I understand correctly, the term Reference
you mentioned refers to Quote Message
?
If so, you can implement these features by saving the quoted message IDs in the text or records in Message
s, and it's totally up to the developers. For example, some developers display videos, music, etc based on the Markdown text.
The im.turms.service.domain.message.po.Message#referenceId
field stores the relationship between the source message and the new message. For example, if you copy a message based on an existing message, the reference ID
of the new message is the ID of the existing message.
So the reference ID
in Turms isn't what you want.
You can use the Reference ID to query and operate messages in follow-up service queries
What are your business requirements that need to find messages based on quoted messages?
If your use cases are reasonable, I can support the feature in one month when I am not that busy.
from turms.
Oh, I see. What I wanted was for the reference ID to be used as a key to associate with the business object, so that the object in the business can be associated with the message in the turms. So combined with the specific business of the message query or other operations, now it seems that I understand wrong. So how do I connect message to objects in my development business? Now I want to associate a user form when sending group messages at the service management side, and realize the associated query of messages through this form id. Is there any idea to realize it?
from turms.
If you want to make a relationship between the messages generated by Turms and any data in your system:
- You can create a message first no matter via
messageService.sendMessage
on the client side, or sending an admin HTTP request toPOST /messages
, and you will get the message ID - Then you can store the message ID with the ID of your data in your database, and it's up to you how to design and implement the workflow.
from turms.
Related Issues (20)
- Detect and remove the dead conflicted node to recover from forced shutdown faster HOT 1
- UserAuthenticator plugin gateway error HOT 6
- 镜像启动后报错,导致minio初始化失败 HOT 1
- Help! How can i get the messages sent by me HOT 1
- Redesign admin APIs to make them friendly to call HOT 1
- Throw an exception to notify plugin users to upgrade Turms servers or plugins proactively if detecting the plugin overrides non-existent methods when loading HOT 1
- Add service APIs for clients to CRUD meetings
- Train a model to support creating user personas based on Turms data
- master分支代码插入数据好像有点儿问题 HOT 1
- 自定义组件位置 HOT 3
- Add docs on how turms servers manage properties in source code so that users can know what properties Turms has from source code
- Support users in specifying the preferred languages for push notifications
- Compile simple push notification templates to Java class files HOT 1
- Migrate to Java as the template engine HOT 1
- 好友之间在线状态的查询实现
- 聊天室turms-service对外提供http接口如何设置超时时间? HOT 2
- 业务交互 HOT 5
- turms-service的进程 fd一直增加,一天就到了4万,socket大量未关闭 目前同时在线人数最多2000 HOT 2
- Support RAG
- Unify the logic to respond with status codes when the target resource doesn't exist
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.