Closed Schmiddiii closed 8 months ago
This would panic with the empty path which can be the value of a group avatar path if no avatar is set for the group.
I don't think you should call this method when you know the avatar is not set, but I agree it shouldn't panic in that case.
Tracing assumed the path was always at least 4 characters long. This would panic with the empty path which can be the value of a group avatar path if no avatar is set for the group.
While this panic is easy to prevent in presage (which I also did here), this panic should still be removed from libsignal-service-rs.
(CI failure is again in nightly and most likely not my fault)