return res.getString(R.string.event_fork_apply_title, formatFromRepoName(eventRepo));
} else if (Event.TYPE_GIST.equals(eventType)) {
GistPayload payload = (GistPayload) event.getPayload();
Gist gist = payload.getGist();
String id = gist != null ? gist.getId() : mContext.getString(R.string.deleted);
<BUG>int resId = TextUtils.equals(payload.getAction(), "update")
</BUG>
? R.string.event_update_gist_title : R.string.event_create_gist_title;
return res.getString(resId, id);
} else if (Event.TYPE_GOLLUM.equals(eventType)) {

return res.getString(R.string.event_fork_apply_title, formatFromRepoName(eventRepo));
} else if (Event.TYPE_GIST.equals(eventType)) {
GistPayload payload = (GistPayload) event.getPayload();
Gist gist = payload.getGist();
String id = gist != null ? gist.getId() : mContext.getString(R.string.deleted);
int resId = TextUtils.equals(payload.getAction(), GistPayload.ACTION_UPDATE)
? R.string.event_update_gist_title : R.string.event_create_gist_title;
return res.getString(resId, id);
} else if (Event.TYPE_GOLLUM.equals(eventType)) {
