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:
@@ -34,7 +34,10 @@ public class Mention extends BaseModel{
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int hashCode(){
|
public int hashCode(){
|
||||||
int result=id.hashCode();
|
int result = 0;
|
||||||
|
if (id != null) {
|
||||||
|
result=id.hashCode();
|
||||||
|
}
|
||||||
result=31*result+url.hashCode();
|
result=31*result+url.hashCode();
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user