fix(custom-local-timelines): crash whenever a mention is shown

I don't know what caused this. Probably the HTML parser, but its now fixed forever, hopefully this thing does not happen again :)
This commit is contained in:
LucasGGamerM
2024-03-22 15:25:06 -03:00
parent 8d6593e12c
commit 629262c266

View File

@@ -34,7 +34,10 @@ public class Mention extends BaseModel{
@Override
public int hashCode(){
int result=id.hashCode();
int result = 0;
if (id != null) {
result=id.hashCode();
}
result=31*result+url.hashCode();
return result;
}