Skip to content

Commit

Permalink
Corrected initialization of presence
Browse files Browse the repository at this point in the history
The presence attribute was initialized from the aMSNProfile which doesn't
have a presence attribute. Presence should be taken from the pymsn_profile
instead.
  • Loading branch information
Kjir committed May 28, 2009
1 parent 452ab37 commit 6fa6773
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion amsn2/core/personalinfo_manager.py
Expand Up @@ -12,7 +12,7 @@ def set_profile(self, amsn_profile):
self._personalinfoview = PersonalInfoView(self._core, self._papyon_profile)

# set login presence and update the gui
self._personalinfoview.presence = amsn_profile.presence
self._personalinfoview.presence = self._papyon_profile.presence

""" Actions from ourselves """
def _onNickUpdated(self, new_nick):
Expand Down

0 comments on commit 6fa6773

Please sign in to comment.