mirror of
https://github.com/jech/galene.git
synced 2024-12-22 23:35:46 +01:00
Fix typo in getChatHistory.
This commit is contained in:
parent
4a476abe11
commit
b8dedcf0f0
1 changed files with 1 additions and 1 deletions
2
group.go
2
group.go
|
@ -442,7 +442,7 @@ func (g *group) addToChatHistory(id, user, value string, me bool) {
|
|||
|
||||
func (g *group) getChatHistory() []chatHistoryEntry {
|
||||
g.mu.Lock()
|
||||
g.mu.Unlock()
|
||||
defer g.mu.Unlock()
|
||||
|
||||
h := make([]chatHistoryEntry, len(g.history))
|
||||
copy(h, g.history)
|
||||
|
|
Loading…
Reference in a new issue