mirror of
https://github.com/bbernhard/signal-cli-rest-api.git
synced 2026-05-27 14:54:14 +00:00
Remove if statement
This commit is contained in:
parent
a93eed6e56
commit
6b3916e597
@ -2598,9 +2598,6 @@ func (s *SignalClient) RemoteDelete(number string, recipient string, timestamp i
|
|||||||
}
|
}
|
||||||
|
|
||||||
resp.Timestamp, err = strconv.ParseInt(strings.TrimSuffix(rawData, "\n"), 10, 64)
|
resp.Timestamp, err = strconv.ParseInt(strings.TrimSuffix(rawData, "\n"), 10, 64)
|
||||||
if err != nil {
|
|
||||||
return resp, err
|
return resp, err
|
||||||
}
|
|
||||||
return resp, nil
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user