Run gofmt
This commit is contained in:
parent
0c1fc00f97
commit
f1528143aa
@ -506,6 +506,7 @@ func (room *Room) updateNameFromNameEvent() {
|
||||
// updateNameFromMembers updates the room display name based on the members in this room.
|
||||
//
|
||||
// The room name depends on the number of users:
|
||||
//
|
||||
// Less than two users -> "Empty room"
|
||||
// Exactly two users -> The display name of the other user.
|
||||
// More than two users -> The display name of one of the other users, followed
|
||||
|
@ -179,9 +179,11 @@ var colorNames = []string{
|
||||
// names specified in tcell.ColorNames.
|
||||
//
|
||||
// The algorithm to get the color is as follows:
|
||||
//
|
||||
// colorNames[ FNV1(string) % len(colorNames) ]
|
||||
//
|
||||
// With the exception of the three special cases:
|
||||
//
|
||||
// --> = green
|
||||
// <-- = red
|
||||
// --- = yellow
|
||||
|
Loading…
Reference in New Issue
Block a user