Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
im-common
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
陈永峰
im-common
Commits
2a94d478
Unverified
Commit
2a94d478
authored
Nov 09, 2021
by
Yang Libin
Committed by
GitHub
Nov 09, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: add constants (#61)
parent
6d57b77d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
84 additions
and
0 deletions
+84
-0
Condition.java
src/main/java/io/github/doocs/im/constant/Condition.java
+33
-0
MsgComplete.java
src/main/java/io/github/doocs/im/constant/MsgComplete.java
+23
-0
SendMsgControl.java
...main/java/io/github/doocs/im/constant/SendMsgControl.java
+28
-0
No files found.
src/main/java/io/github/doocs/im/constant/Condition.java
0 → 100644
View file @
2a94d478
package
io
.
github
.
doocs
.
im
.
constant
;
/**
* 条件
*
* @author bingo
* @since 2021/11/9 16:40
*/
public
class
Condition
{
/**
* 属性的或条件
*/
public
static
final
String
ATTRS_OR
=
"AttrsOr"
;
/**
* 属性的与条件
*/
public
static
final
String
ATTRS_AND
=
"AttrsAnd"
;
/**
* 标签的或条件
*/
public
static
final
String
TAGS_OR
=
"TagsOr"
;
/**
* 标签的与条件
*/
public
static
final
String
TAGS_AND
=
"TagsAnd"
;
private
Condition
()
{
}
}
src/main/java/io/github/doocs/im/constant/MsgComplete.java
0 → 100644
View file @
2a94d478
package
io
.
github
.
doocs
.
im
.
constant
;
/**
* 消息是否全部拉取
*
* @author bingo
* @since 2021/11/9 16:37
*/
public
class
MsgComplete
{
/**
* 已全部拉取
*/
public
static
final
int
YES
=
1
;
/**
* 未全部拉取,需要记录拉
*/
public
static
final
int
NO
=
0
;
private
MsgComplete
()
{
}
}
src/main/java/io/github/doocs/im/constant/SendMsgControl.java
0 → 100644
View file @
2a94d478
package
io
.
github
.
doocs
.
im
.
constant
;
/**
* 消息发送控制项
*
* @author bingo
* @since 2021/11/9 16:32
*/
public
class
SendMsgControl
{
/**
* 该条消息不计入未读数
*/
public
static
final
String
NO_UNREAD
=
"NoUnread"
;
/**
* 该条消息不更新会话列表
*/
public
static
final
String
NO_LAST_MSG
=
"NoLastMsg"
;
/**
* 该条消息的接收方对发送方设置的免打扰选项生效(默认不生效)
*/
public
static
final
String
WITH_MUTE_NOTIFICATIONS
=
"WithMuteNotifications"
;
private
SendMsgControl
()
{
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment