Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vmj-qt
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
vmj-qt
Commits
687f8b93
Commit
687f8b93
authored
Jun 23, 2013
by
Dan Pascu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Renamed method argument
parent
a6a374ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
presence.py
blink/presence.py
+3
-3
No files found.
blink/presence.py
View file @
687f8b93
...
@@ -133,7 +133,7 @@ class PresencePublicationHandler(object):
...
@@ -133,7 +133,7 @@ class PresencePublicationHandler(object):
return
doc
return
doc
def
build_offline_pidf
(
self
,
account
,
offline_
note
=
None
):
def
build_offline_pidf
(
self
,
account
,
note
=
None
):
doc
=
pidf
.
PIDF
(
str
(
account
.
uri
))
doc
=
pidf
.
PIDF
(
str
(
account
.
uri
))
timestamp
=
ISOTimestamp
.
now
()
timestamp
=
ISOTimestamp
.
now
()
...
@@ -151,8 +151,8 @@ class PresencePublicationHandler(object):
...
@@ -151,8 +151,8 @@ class PresencePublicationHandler(object):
service
.
contact
=
pidf
.
Contact
(
str
(
account
.
uri
))
service
.
contact
=
pidf
.
Contact
(
str
(
account
.
uri
))
service
.
capabilities
=
caps
.
ServiceCapabilities
()
service
.
capabilities
=
caps
.
ServiceCapabilities
()
service
.
timestamp
=
pidf
.
ServiceTimestamp
(
timestamp
)
service
.
timestamp
=
pidf
.
ServiceTimestamp
(
timestamp
)
if
offline_
note
:
if
note
:
service
.
notes
.
add
(
offline_
note
)
service
.
notes
.
add
(
note
)
doc
.
add
(
service
)
doc
.
add
(
service
)
return
doc
return
doc
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment