Implement incoming webhooks.
Этот коммит содержится в:
@@ -120,3 +120,11 @@ func (o *Channel) ExtraUpdated() {
|
||||
|
||||
func (o *Channel) PreExport() {
|
||||
}
|
||||
|
||||
func GetDMNameFromIds(userId1, userId2 string) string {
|
||||
if userId1 > userId2 {
|
||||
return userId2 + "__" + userId1
|
||||
} else {
|
||||
return userId1 + "__" + userId2
|
||||
}
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user