|
|
@ -32,7 +32,8 @@ public abstract class SnapChatUpdateAction extends UpdateAction implements SnapC |
|
|
|
public boolean hasRead() { |
|
|
|
public boolean hasRead() { |
|
|
|
|
|
|
|
|
|
|
|
String calcKey = calcKey(); |
|
|
|
String calcKey = calcKey(); |
|
|
|
return SnapChatConfig.getInstance().hasRead(calcKey); |
|
|
|
Boolean val = SnapChatConfig.getInstance().hasRead(calcKey); |
|
|
|
|
|
|
|
return val == null ? defaultStatus() : val; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
@ -42,6 +43,12 @@ public abstract class SnapChatUpdateAction extends UpdateAction implements SnapC |
|
|
|
SnapChatConfig.getInstance().markRead(calcKey); |
|
|
|
SnapChatConfig.getInstance().markRead(calcKey); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
|
|
public boolean defaultStatus() { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return false; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public SnapChatKey key() { |
|
|
|
public SnapChatKey key() { |
|
|
|
|
|
|
|
|
|
|
|