| |
@@ -190,8 +190,6 @@
|
| |
|
| |
# the format of the user has changed, add a data member
|
| |
comment["username"] = comment["user"]["name"]
|
| |
- if comment["anonymous"]:
|
| |
- comment["username"] += " (unauthenticated)"
|
| |
|
| |
comments.append(
|
| |
"%(indent)s%(username)s - %(timestamp)s "
|
| |
@@ -222,6 +220,7 @@
|
| |
values["karma_status"] = "%d/%s" % (values["karma"],
|
| |
values["stable_karma"])
|
| |
|
| |
+ values["submitter"] = values["user"]["name"]
|
| |
return format_string % values
|
| |
|
| |
@staticmethod
|
| |
@@ -653,7 +652,7 @@
|
| |
|
| |
# Ignore own updates
|
| |
if self.options.ignore_own and \
|
| |
- update["submitter"] == self.options.fas_username:
|
| |
+ update["user"]["name"] == self.options.fas_username:
|
| |
continue
|
| |
|
| |
if update not in processed_updates and \
|
| |
@@ -773,7 +772,7 @@
|
| |
|
| |
def already_commented(self, update, user):
|
| |
for comment in update["comments"]:
|
| |
- if not comment["anonymous"] and comment["user"]["name"] == user:
|
| |
+ if comment["user"]["name"] == user:
|
| |
return True
|
| |
return False
|
| |
|
| |
See https://bugzilla.redhat.com/show_bug.cgi?id=1714925