<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://osimdev.org/wiki/index.php?action=history&amp;feed=atom&amp;title=OpenSimulator_Internals%2FFriendsService</id>
	<title>OpenSimulator Internals/FriendsService - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://osimdev.org/wiki/index.php?action=history&amp;feed=atom&amp;title=OpenSimulator_Internals%2FFriendsService"/>
	<link rel="alternate" type="text/html" href="http://osimdev.org/wiki/index.php?title=OpenSimulator_Internals/FriendsService&amp;action=history"/>
	<updated>2026-08-04T15:31:44Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>http://osimdev.org/wiki/index.php?title=OpenSimulator_Internals/FriendsService&amp;diff=17&amp;oldid=prev</id>
		<title>Jwbshaw: first</title>
		<link rel="alternate" type="text/html" href="http://osimdev.org/wiki/index.php?title=OpenSimulator_Internals/FriendsService&amp;diff=17&amp;oldid=prev"/>
		<updated>2026-06-21T07:02:33Z</updated>

		<summary type="html">&lt;p&gt;first&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= OpenSimulator Internals/FriendsService =&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
&lt;br /&gt;
FriendsService manages the friends list, friendship requests, and permissions granted to friends.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Data Fields ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Field !! Type !! Notes&lt;br /&gt;
|-&lt;br /&gt;
| PrincipalID || VARCHAR(255) || String not UUID -- HyperGrid users have URI-based IDs. Part of composite primary key.&lt;br /&gt;
|-&lt;br /&gt;
| Friend || VARCHAR(255) || UUID or HyperGrid URI of the friend. Part of composite primary key.&lt;br /&gt;
|-&lt;br /&gt;
| Flags || VARCHAR(16) || Permissions this user has granted to the friend. Stored as string.&lt;br /&gt;
|-&lt;br /&gt;
| Offered || VARCHAR(32) || Friendship offer state. Stored as string.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
TheirFlags is not stored -- computed at query time via self-join on the same table. Returns -1 if the reverse friendship record does not exist (friendship not yet reciprocated).&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Database ==&lt;br /&gt;
&lt;br /&gt;
See [[OpenSimulator Internals/Data Dictionaries#Friends|Friends table]] for the full database schema.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
&lt;br /&gt;
* [[OpenSimulator Internals/ROBUST Services]]&lt;br /&gt;
* [[OpenSimulator Internals/Data Dictionaries]]&lt;/div&gt;</summary>
		<author><name>Jwbshaw</name></author>
	</entry>
</feed>