Skip to content

Commit

Permalink
fix(custom-local-timelines): crash whenever a mention is shown
Browse files Browse the repository at this point in the history
I don't know what caused this. Probably the HTML parser, but its now fixed forever, hopefully this thing does not happen again :)
  • Loading branch information
LucasGGamerM committed Mar 22, 2024
1 parent 8d6593e commit 629262c
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ public boolean equals(Object o){

@Override
public int hashCode(){
int result=id.hashCode();
int result = 0;
if (id != null) {
result=id.hashCode();
}
result=31*result+url.hashCode();
return result;
}
Expand Down

0 comments on commit 629262c

Please sign in to comment.